<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .test {
            width: 500px;
            height: 500px;
            box-shadow: 0 0 2px black;
        }
        .block {
            width: 100px;
            height: 100px;
            background: pink;
            box-shadow: 0 0 2px black;  
                      
        }
        .spin {
            animation: 12.5664s linear 0s infinite spin;            
        }
        @keyframes spin { 
            from { 
                transform: rotate(0);
            } 
            to { 
                transform: rotate(6.2832rad);
            }  
        }
    </style>
</head>
<body>
    <ul>
        <li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, tenetur!</li>
        <li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, tenetur!</li>
        <li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, tenetur!</li>
        <li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, tenetur!</li>
        <li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, tenetur!</li>
        <li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, tenetur!</li>
        <li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, tenetur!</li>
        <li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, tenetur!</li>
        <li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, tenetur!</li>
        <li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, tenetur!</li>
        <li>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, tenetur!</li>
    </ul>
    <div class="test">
        <div class="block spin"></div>
    </div>
</body>
</html>